package com.byedu.mapper.focus;

import com.byedu.domain.focus.FocusKpiDO;
import com.byedu.domain.focus.FocusProjectDO;
import com.byedu.domain.focus.FocusUserDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by jason on 2017/5/14.
 */
@Repository
public interface FocusKpiMapper {
    /**
     * @description 更新
     * @author chenxigui
     * @date  2017-05-14
     * @param focusKpiDO
     * @return
     */
    Integer updateFocusKpiDO(FocusKpiDO focusKpiDO);
    Integer updateFocusKpiDObyId(FocusKpiDO focusKpiDO);
    /**
     * @description 查询用户
     * @author chenxigui
     * @date  2017-05-14
     * @param focusKpiDO
     * @return
     */
    List<FocusKpiDO> getFocusKpiDOByFocusKpiDO(FocusKpiDO focusKpiDO);


    FocusKpiDO getFocusKpiDOById(String userId);
    Integer addFocusKpiDO(FocusKpiDO focusKpiDO);

    Integer delFocusKpiDO(FocusKpiDO focusKpiDO);
    Integer delFocusKpiDObyId(FocusKpiDO focusKpiDO);

    List<FocusKpiDO> getFocusKpiDOList();

    List<FocusKpiDO> getjifuList();
    List<FocusKpiDO> getyearList();


}
